<?xml version='1.0'?>

<gl_extension name="WGL_I3D_genlock" reg_no="252">
	<tokens>
		<token name="WGL_GENLOCK_SOURCE_MULTIVIEW_I3D" value="0x2044"/>
		<token name="WGL_GENLOCK_SOURCE_EXTENAL_SYNC_I3D" value="0x2045"/>
		<token name="WGL_GENLOCK_SOURCE_EXTENAL_FIELD_I3D" value="0x2046"/>
		<token name="WGL_GENLOCK_SOURCE_EXTENAL_TTL_I3D" value="0x2047"/>
		<token name="WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D" value="0x2048"/>
		<token name="WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D" value="0x2049"/>
		<token name="WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D" value="0x204A"/>
		<token name="WGL_GENLOCK_SOURCE_EDGE_RISING_I3D" value="0x204B"/>
		<token name="WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D" value="0x204C"/>
	</tokens>

	<functions>
		<function name="wglEnableGenlockI3D" return="BOOL">
			<params>
				<param type="HDC" name="hDC"/>
			</params>
		</function>
		<function name="wglDisableGenlockI3D" return="BOOL">
			<params>
				<param type="HDC" name="hDC"/>
			</params>
		</function>
		<function name="wglIsEnabledGenlockI3D" return="BOOL">
			<params>
				<param type="HDC" name="hDC"/>
				<param type="BOOL*" name="pFlag"/>
			</params>
		</function>
		<function name="wglGenlockSourceI3D" return="BOOL">
			<params>
				<param type="HDC" name="hDC"/>
				<param type="UINT" name="uSource"/>
			</params>
		</function>
		<function name="wglGetGenlockSourceI3D" return="BOOL">
			<params>
				<param type="HDC" name="hDC"/>
				<param type="UINT*" name="uSource"/>
			</params>
		</function>
		<function name="wglGenlockSourceEdgeI3D" return="BOOL">
			<params>
				<param type="HDC" name="hDC"/>
				<param type="UINT" name="uEdge"/>
			</params>
		</function>
		<function name="wglGetGenlockSourceEdgeI3D" return="BOOL">
			<params>
				<param type="HDC" name="hDC"/>
				<param type="UINT*" name="uEdge"/>
			</params>
		</function>
		<function name="wglGenlockSampleRateI3D" return="BOOL">
			<params>
				<param type="HDC" name="hDC"/>
				<param type="UINT" name="uRate"/>
			</params>
		</function>
		<function name="wglGetGenlockSampleRateI3D" return="BOOL">
			<params>
				<param type="HDC" name="hDC"/>
				<param type="UINT*" name="uRate"/>
			</params>
		</function>
		<function name="wglGenlockSourceDelayI3D" return="BOOL">
			<params>
				<param type="HDC" name="hDC"/>
				<param type="UINT" name="uDelay"/>
			</params>
		</function>
		<function name="wglGetGenlockSourceDelayI3D" return="BOOL">
			<params>
				<param type="HDC" name="hDC"/>
				<param type="UINT*" name="uDelay"/>
			</params>
		</function>
		<function name="wglQueryGenlockMaxSourceDelayI3D" return="BOOL">
			<params>
				<param type="HDC" name="hDC"/>
				<param type="UINT*" name="uMaxLineDelay"/>
				<param type="UINT*" name="uMaxPixelDelay"/>
			</params>
		</function>
	</functions>
</gl_extension>
